<template>
  <div>
    <el-table :data="tableData" style="width: 100%">
      <el-table-column prop="date" label="日期" align="center"></el-table-column>
      <el-table-column
        prop="name"
        label="产品名称"
        align="center"
      ></el-table-column>
      <el-table-column prop="people" label="购买人数" align="center"></el-table-column>
      <el-table-column prop="price" label="产品单价(￥)" align="center"></el-table-column>
      <el-table-column prop="title" label="总销售额(￥)" align="center"></el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  data() {
    return {
      tableData: [
        {
          date: "2022-11-02",
          name: "[黑魔仗] 魅可丝缎绒雾细管唇膏",
          people: "321",
          price: "230",
          title: "73,830",
        },
        {
          date: "2022-11-03",
          name: "魅可双头造型眉笔",
          people: "210",
          price: "190",
          title: "39,900",
        },
        {
          date: "2022-11-04",
          name: "魅可水漾晶亮唇膏",
          people: "30",
          price: "190",
          title: "5700",
        },
        {
          date: "2022-11-04",
          name: "魅可立体绒光修容饼",
          people: "30",
          price: "340",
          title: "10200",
        },
        {
          date: "2022-11-04",
          name: "魅可大理石系列十二色眼影盘",
          people: "101",
          price: "480",
          title: "48,480",
        },
        {
          date: "2022-11-04",
          name: "魅可专业洗刷水",
          people: "22",
          price: "103",
          title: "2266",
        },
        {
          date: "2022-11-05",
          name: "魅可#270斜角圆头遮瑕刷",
          people: "76",
          price: "250",
          title: "19000",
        },
        {
          date: "2022-11-06",
          name: "魅可焕采保湿控妆水",
          people: "202",
          price: "230",
          title: "46460",
        },
        {
          date: "2022-11-06",
          name: "魅可妆前底唇膏",
          people: "55",
          price: "185",
          title: "10175",
        },
        {
          date: "2022-11-07",
          name: "魅可保湿控妆水+（鎏金）",
          people: "45",
          price: "220",
          title: "9900",
        },
        {
          date: "2022-11-08",
          name: "魅可晶亮润肤乳",
          people: "10",
          price: "230",
          title: "2300",
        },
        {
          date: "2022-11-09",
          name: "魅可#270斜角圆头遮瑕刷",
          people: "98",
          price: "250",
          title: "24500",
        },
      ],
    };
  },
};
</script>

<style lang="scss" scoped></style>
